/* 
 * Copyright [2018] [Alex/libo(liboms@hotmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.common.model;

import com.hyts.common.config.ParamConfig;

import java.util.Map;

/** 
 * @title SimpleBuildModel.java  
 * @package com.hyts.codegen.jfinal.model  
 * @description 提供用户使用的构建模型参数  
 * @see ParamConfig
 * @author libo/Alex
 * @email liboms@hotmail.com/liboware@163.com  
 * @date 2018年5月12日 
 * @version V1.0 
 */
public class SimpleBuildModel extends ParamConfig {
	
	
	/**  
	 * <p>基础包类</p> 
	 * @fieldName basePackageName
	 * @fieldType String
	 */ 
	private String basePackageName;
	
	
	/**  
	 * <p>模型包名称</p> 
	 * @fieldName modelPackageName
	 * @fieldType String
	 */ 
	private String modelPackageName;
	
	/**  
	 * <p>注释集合</p> 
	 * @fieldName annotationMap
	 * @fieldType Map<String,String>
	 */ 
	private Map<String,String> javaDocMap;
	
	/**  
	 * <p>引入class类名称集合</p> 
	 * @fieldName importClassName
	 * @fieldType String[]
	 */ 
	String[] importClassName;
	
	/**  
	 * <p>类名称信息</p> 
	 * @fieldName javaTypeName
	 * @fieldType String
	 */ 
	String javaTypeName;
	
	/**  
	 * <p>{字段的描述}</p> 
	 * @fieldName annotations
	 * @fieldType String[]
	 */ 
	String[] annotations;
	
	
	/**  
	 * <p>外部文件属性</p> 
	 * @fieldName externalFilePath
	 * @fieldType String
	 */ 
	String externalFilePath;
	
	/**  
	 * @name basePackageName's getter method
	 * @return basePackageName
	 */
	public String getBasePackageName() {
		return basePackageName;
	}

	/**  
	 * @name basePackageName's setter method
	 * @param basePackageName
	 * @return void
	 */
	public void setBasePackageName(String basePackageName) {
		this.basePackageName = basePackageName;
	}

	/**  
	 * @name modelPackageName's getter method
	 * @return modelPackageName
	 */
	public String getModelPackageName() {
		return modelPackageName;
	}

	/**  
	 * @name modelPackageName's setter method
	 * @param modelPackageName
	 * @return void
	 */
	public void setModelPackageName(String modelPackageName) {
		this.modelPackageName = modelPackageName;
	}

	/**  
	 * @name javaDocMap's getter method
	 * @param none
	 * @return javaDocMap
	 */
	public Map<String, String> getJavaDocMap() {
		return javaDocMap;
	}

	/**  
	 * @name javaDocMap's setter method
	 * @param javaDocMap
	 * @return void
	 */
	public void setJavaDocMap(Map<String, String> javaDocMap) {
		this.javaDocMap = javaDocMap;
	}

	/**  
	 * @constructor：SimpleBuildModel  
	 * @param basePackageName
	 * @param modelPackageName
	 * @param javaDocMap  
	 */ 
	public SimpleBuildModel(String basePackageName, String modelPackageName,
                            Map<String, String> javaDocMap) {
		super();
		this.basePackageName = basePackageName;
		this.modelPackageName = modelPackageName;
		this.javaDocMap = javaDocMap;
	}

	/**  
	 * @constructor：SimpleBuildModel  
	 * @param basePackageName
	 * @param modelPackageName  
	 */ 
	
	public SimpleBuildModel(String basePackageName, String modelPackageName) {
		super();
		this.basePackageName = basePackageName;
		this.modelPackageName = modelPackageName;
	}

	/**  
	 * @name importClassName's getter method
	 * @param none
	 * @return importClassName
	 */
	public String[] getImportClassName() {
		return importClassName;
	}

	/**  
	 * @name importClassName's setter method
	 * @param importClassName
	 * @return void
	 */
	public void setImportClassName(String[] importClassName) {
		this.importClassName = importClassName;
	}

	/**  
	 * @name javaTypeName's getter method
	 * @param none
	 * @return javaTypeName
	 */
	public String getJavaTypeName() {
		return javaTypeName;
	}

	/**  
	 * @name javaTypeName's setter method
	 * @param javaTypeName
	 * @return void
	 */
	public void setJavaTypeName(String javaTypeName) {
		this.javaTypeName = javaTypeName;
	}

	/**  
	 * @constructor：SimpleBuildModel  
	 * @param basePackageName
	 * @param modelPackageName
	 * @param javaDocMap
	 * @param importClassName
	 * @param javaTypeName  
	 */ 
	
	
	public SimpleBuildModel(String basePackageName, String modelPackageName,
                            Map<String, String> javaDocMap, String[] importClassName,
                            String javaTypeName) {
		super();
		this.basePackageName = basePackageName;
		this.modelPackageName = modelPackageName;
		this.javaDocMap = javaDocMap;
		this.importClassName = importClassName;
		this.javaTypeName = javaTypeName;
	}

	/**  
	 * @constructor：SimpleBuildModel  
	 * @param basePackageName
	 * @param modelPackageName
	 * @param javaDocMap
	 * @param javaTypeName  
	 */ 
	
	
	public SimpleBuildModel(String basePackageName, String modelPackageName,
                            Map<String, String> javaDocMap, String javaTypeName) {
		super();
		this.basePackageName = basePackageName;
		this.modelPackageName = modelPackageName;
		this.javaDocMap = javaDocMap;
		this.javaTypeName = javaTypeName;
	}

	/**  
	 * @name annotations's getter method
	 * @param none
	 * @return annotations
	 */
	public String[] getAnnotations() {
		return annotations;
	}

	/**  
	 * @name annotations's setter method
	 * @param annotations
	 * @return void
	 */
	public void setAnnotations(String[] annotations) {
		this.annotations = annotations;
	}

	/**  
	 * @name externalFilePath's getter method
	 * @param none
	 * @return externalFilePath
	 */
	public String getExternalFilePath() {
		return externalFilePath;
	}

	/**  
	 * @name externalFilePath's setter method
	 * @param externalFilePath
	 * @return void
	 */
	public void setExternalFilePath(String externalFilePath) {
		this.externalFilePath = externalFilePath;
	}

	/**  
	 * @constructor：SimpleBuildModel    
	 */ 
	public SimpleBuildModel() {
		super();
	}

	/**  
	 * @constructor：SimpleBuildModel  
	 * @param basePackageName  
	 */ 
	public SimpleBuildModel(String basePackageName) {
		super();
		this.basePackageName = basePackageName;
	}

	private boolean isInterface;

	public boolean isInterface() {
		return isInterface;
	}

	public void setInterface(boolean anInterface) {
		isInterface = anInterface;
	}
}
